package com.school.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.school.dao.HljtEducationDao;
import com.school.entity.HljtEducation;
import com.school.entity.web.EducationAll;
import com.school.service.HljtEducationSerivce;
@Service
public class HljtEducationSerivceImpl implements HljtEducationSerivce {
	
	@Autowired
	private HljtEducationDao hljtEducationDao;

	@Override
	public List<HljtEducation> findEducation(Integer classid,Integer dutyid) {
			return hljtEducationDao.findEducation(classid,dutyid);
	}

	@Override
	public Integer deleteEducation(Integer id) {
		return hljtEducationDao.deleteEducation(id);
	}

	@Override
	public Integer addEducation(HljtEducation hljtEducation) {
		return hljtEducationDao.addEducation(hljtEducation);
	}

	@Override
	public Integer updateEducation(HljtEducation hljtEducation) {
		return hljtEducationDao.updateEducation(hljtEducation);
	}

	@Override
	public List<HljtEducation> selectHljtEducationPage(Integer pageSize, Integer pageIndex) {
		return hljtEducationDao.selectHljtEducationPage(pageSize, pageIndex);
	}

	@Override
	public List<HljtEducation> selectHljtEducationAll() {
		return hljtEducationDao.selectHljtEducationAll();
	}

	@Override
	public List<EducationAll> findEducationAll(Integer classid) {
		// TODO Auto-generated method stub
		return hljtEducationDao.findEducationAll(classid);
	}

	@Override
	public Integer deleteEducationall(Integer dutyid) {
		// TODO Auto-generated method stub
		return hljtEducationDao.deleteEducationall(dutyid);
	}



}
